/*
 *  ATmpCrumb.h
 *  
 *
 *  Created by Peter on 23.02.12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef A_TMP_CRUMB_H
#define A_TMP_CRUMB_H

#include "AObject.h"
#include "AMCMobRef.h"

/*
 * Version: 3 (MC 7 old versioning scheme, MC 5.0.3 new)
 *
 * This class represents what the Avid UI calls a Locator (or a Marker from 
 * Version 6 (new versioning scheme) on). This object stores only the most basic
 * info, the lion's share is stored in the corresponding AAtrrList object.
 */
class ATmpCrumb : public AMCMobRef
{
	
public:
	
	A_DECLARE_CLASS( 'TMBC', ATmpCrumb, AMCMobRef );
	
	virtual void readFromStream( AStream& str, const AObjDoc& objd );
	virtual void writeToStream( AStream& str ) const;
	virtual void dump( std::ostream& str ) const;
	
protected:
	
	// ----- data members ----
	
	Int32      _compOffset; // OMFI:TMBC:MC:CompOffset: 62805
	UInt32     _attributes; // OMFI:TMBC:MC:Attributes: 0x00000001 // AAttrList*
	AvRgbColor _rgbColor;   // -24065, 12134, 6564
	
};

#endif /*Inclusion Guard*/